package cn.jiangjiesheng.bootstrap.cloud.service;

import cn.hutool.extra.spring.SpringUtil;
import cn.jiangjiesheng.bootstrap.commons.context.UserInfoContext;
import cn.jiangjiesheng.bootstrap.commons.properties.DevUserMockProperties;

/**
 * Created by dev@jiangjiesheng.cn on 2022/10/11  <br/>
 *
 * @author dev@jiangjiesheng.cn
 */
public class DevUtils {
    public static void initDevUserInfoContext() {
        final DevUserMockProperties devUserMockProperties = SpringUtil.getBean(DevUserMockProperties.class);
        UserInfoContext.setUserInfo(devUserMockProperties);
    }
}
